import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

import BlogPost from './components/study/compoments/BlogPost.vue'

const app = createApp(App)

app.use(createPinia())
app.use(router)

/* 定义全局组件 */
app.component('BlogPost', BlogPost)
// 属性注入
app.provide('app', app)
app.mount('#app')
